Platform Explorer / Nuxeo Platform 2023.22

Operation Document.GetLinkedDocuments (Get Linked Documents)

Description

Get the relations for the input document. The 'outgoing' parameter ca be used to specify whether outgoing or incoming relations should be returned. Retuns a document list.
Operation id Document.GetLinkedDocuments
AliasesRelations.GetRelations
Category Services
Label Get Linked Documents
Requires
Since

Parameters

Name Description Type Required Default value
predicate string yes  
graphName string no  
outgoing boolean no  

Signature

Inputs document
Outputs documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.services.GetRelations
Contributing Component org.nuxeo.ecm.core.automation.features.operations

JSON Definition

{
  "id" : "Document.GetLinkedDocuments",
  "aliases" : [ "Relations.GetRelations" ],
  "label" : "Get Linked Documents",
  "category" : "Services",
  "requires" : null,
  "description" : "Get the relations for the input document. The 'outgoing' parameter ca be used to specify whether outgoing or incoming relations should be returned. Retuns a document list.",
  "url" : "Document.GetLinkedDocuments",
  "signature" : [ "document", "documents" ],
  "params" : [ {
    "name" : "predicate",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "graphName",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "outgoing",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}